package com.javandad.app.server.db;


import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

public class PMFSingleton {
	private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional");

	public static PersistenceManager getPM() {
		return pmfInstance.getPersistenceManager();
	}

	private PMFSingleton() {
	}
}
